<script setup>
	import zhCN from "element-plus/es/locale/lang/zh-cn";
	const lang = ref(zhCN);
	import { userStore } from "@/store/user";
	const store = userStore();
	//判断是否登录
	store.isLogin();
</script>

<template>
	<ElConfigProvider :locale="lang">
		<router-view />
	</ElConfigProvider>
</template>

<style lang="scss">
	@font-face {
		font-family: "钉钉进步体";
		src: url("@/assets/font/DingTalk-JinBuTi.ttf");
	}
	* {
		font-family: "钉钉进步体";
	}
</style>
